package com.wdz.entity;


import java.io.Serializable;

public class ApiUser implements Serializable {
    private String username;
    private String password;
    private String authorities;
    private int enable;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public int getEnable() {
        return enable;
    }

    public void setEnable(int enable) {
        this.enable = enable;
    }

    public boolean enable() {
        if (this.enable == 1){
            return true;
        }
        return false;
    }

}
